import { Button } from 'antd';
import { useNavigate } from 'react-router-dom';

const StarHistoryButton = () => {
    const navigate = useNavigate();
    const handleToPage = () => {
        navigate('/StarHistory');
    }

    return (<>
        <Button type='primary'
            onClick={handleToPage}
            style={{
                backgroundColor: '#FB7299',
                color: 'white',
            }}
        >ant-design/ant-design,star-history</Button>
    </>)
}

export default StarHistoryButton;